#ifndef _X_ALLOCATOR_H_
#define _X_ALLOCATOR_H_
#include <xtype.h>
namespace zdh
{
	class XAllocator
	{
	public:
		Pointer Alloc(size_t paramSize)
		{
			return new XByte[paramSize];
		}
		void Free(Pointer paramMemory)
		{
			delete[] reinterpret_cast<XByte *>(paramMemory);
		}
	};
}
#endif
